package com.jeff.tianti.cms.service;

import com.jeff.tianti.cms.entity.CnaaApplyFor;
import com.jeff.tianti.cms.entity.CnaaFlow;
import com.jeff.tianti.cms.dao.CnaaFlowDao;
import com.jeff.tianti.cms.dto.CnaaFlowQueryDTO;
import com.jeff.tianti.common.PageBean;
import com.jeff.tianti.common.service.CommonService;
import com.jeff.tianti.common.entity.PageModel;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
/**
 * @author xujianfang
 * @desc CnaaFlowService�� 
 * @date 2019-07-12
 */
@Service
public class CnaaFlowService extends CommonService< CnaaFlow,String >  {

    @Autowired
    private CnaaFlowDao cnaaFlowDao;

    @Autowired
    public void setCnaaFlowDao(CnaaFlowDao cnaaFlowDao){
      super.setCommonDao(cnaaFlowDao);
    }

    public PageModel<CnaaFlow> queryCnaaFlowPage(CnaaFlowQueryDTO cnaaFlowQueryDTO){
           return this.cnaaFlowDao.queryCnaaFlowPage(cnaaFlowQueryDTO);
    }

    public List<CnaaFlow> queryCnaaFlowList(CnaaFlowQueryDTO cnaaFlowQueryDTO){
           return this.cnaaFlowDao.queryCnaaFlowList(cnaaFlowQueryDTO);
    }

}